home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
maximus
/
stview10.zip
/
UNPACK.BAT
< prev
next >
Wrap
DOS Batch File
|
1996-04-21
|
995b
|
59 lines
@echo off
rem ==--=StarBar archive extractor batch file=--==
rem DOS BAT
rem
rem ========================================================================
rem
rem first parameter : Path to node-specific temp dir
rem second parameter : Path and File to be examined
rem
rem ========================================================================
rem
md %1
cd %1
if exist %1\*.arj goto ARJ
if exist %1\*.zip goto ZIP
if exist %1\*.lzh goto LHA
if exist %1\*.rar goto UNRAR
if exist %1\*.arc goto PKUNPAK
if exist %1\*.zoo goto ZOO
if exist %1\*.pak goto PAK
rem Add any other archivers you wish to support here, then follow the
rem examples below on extracting the info...
goto end
:ARJ
arj e -y %2 *.*
goto end
:ZIP
pkunzip -o %2 *.*
goto end
:LHA
lha e /m+c+ %2 *.*
goto end
:UNRAR
unrar e -o+ %2 *.*
goto end
:PKUNPAK
pkunpak -r %2 *.*
goto end
:ZOO
zoo.exe e %2 *.*
goto end
:PAK
pak e/WA %2 *.*
goto end
:end